package com.slz3.business.module.messageManagement.mesCreate.service;

import com.slz3.business.module.messageManagement.mesCreate.domain.MesCreate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface MesCreateService {

    MesCreate save(MesCreate mesCreate);

    Page<MesCreate> page(MultiValueMap<String,String> queryParams);

    MesCreate modify(MesCreate mesCreate);

    Optional<MesCreate> single(UUID uuid);

    List<MesCreate> findAllByUuids(Iterable<UUID> uuids);

    List<MesCreate> delete(List<MesCreate> mesCreateList);

}
